package org.blackcat.service;

import org.blackcat.domain.ECG;
import org.blackcat.domain.common.MsgResponse;

import java.util.List;

/**
 * @author 詹泽
 * @date 2017/2/27
 */
public interface ECGService {

    MsgResponse<ECG> getECGByTime(String token,String time) throws Exception;

    MsgResponse<Object> getECGTotalCount(String token) throws Exception;

    MsgResponse<Object> addECG(ECG ecg,String token) throws Exception;

    MsgResponse<List<ECG>> listECG(String token,int pageIndex,int pageCount) throws Exception;
}
